From: Florian Müllner Date: Wed, 29 Apr 2026 18:51:42 +0000 (+0200) Subject: st/theme-node: Correct StTextAlign docs X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~14^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=078f4b1a5e2e5816f36001f3b69cb5ca162e6bc9;p=gnome-shell.git st/theme-node: Correct StTextAlign docs LEFT/RIGHT always align to the left/right. Those only correspond to the beginning/end for LTR locales, in RTL they are swapped. Part-of: (cherry picked from commit 26d1056a9afbfcbe50e18f62cd3fcb7b7f87da74) --- diff --git a/src/st/st-theme-node.h b/src/st/st-theme-node.h index 48637d830..0dfaa97ad 100644 --- a/src/st/st-theme-node.h +++ b/src/st/st-theme-node.h @@ -112,9 +112,9 @@ typedef enum { /** * StTextAlign: - * @ST_TEXT_ALIGN_LEFT: Text is aligned at the beginning of the label. + * @ST_TEXT_ALIGN_LEFT: Text is aligned at the left of the label. * @ST_TEXT_ALIGN_CENTER: Text is aligned in the middle of the label. - * @ST_TEXT_ALIGN_RIGHT: Text is aligned at the end of the label. + * @ST_TEXT_ALIGN_RIGHT: Text is aligned at the right of the label. * @ST_GRADIENT_JUSTIFY: Text is justified in the label. * * Used to align text in a label.